﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Json;

namespace WeatherPrediction
{
    [DataContract]
    public class ParseResult
    {
        [DataMember(Name = "RESULTS")]
        public ParseCountryData[] results { get; set; }
    }

    [DataContract]
    public class ParseCountryData
    {
        [DataMember(Name = "c")]
        public string countryCode { get; set; }

        [DataMember(Name = "name")]
        public string countryName { get; set; }
    }

    
}
